#ifndef QCONFIGDATABASE_H
#define QCONFIGDATABASE_H

#include <QMap>

#include <QVariant>

#define DATA_HOLD       "data_hold"

class QSqliteControl;

class QConfigDataBase
{
public:
    QConfigDataBase();
    ~QConfigDataBase();

    void    open(const QString &path);
    void    close();

    void    save_hold_data(const QString &uuid,const QVariant &value);
    QMap<QString,QString> get_hold_data();
protected:
    QSqliteControl      *m_sqlite_control;
};

#endif // QCONFIGDATABASE_H
